package com.dreamwhale.accelerator.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author Author
 * @since 2020-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("al_order")
public class AlOrder implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "uo_id", type = IdType.AUTO)
    private Integer uoId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 类型(1.充值2.购买3.续费)
     */
    private Integer uoType;

    /**
     * 支付状态(0.待支付1.支付成功2.支付失败)
     */
    private Integer uoStaus;

    /**
     * 支付方式(1.支付宝2.微信3.余额)
     */
    private Integer uoPayType;

    /**
     * 金额
     */
    private BigDecimal uoMoney;

    /**
     * 是否删除(0.否1.是)
     */
    private Integer uoDel;

    /**
     * 创建时间
     */
    private LocalDateTime uoCreateTime;


}
